import http from '../util/request.js'

export default {
    captcha:()=>{
        return http({
            url: '/api/login2/captcha',
            method: 'get',
            //表单参数
        });
    },
    login: (obj)=> {
        return http({
            url: '/api/login2/dologin',
            method: 'post',
            params: obj//表单参数
        });
    },
    getlogin: (obj)=> {
        return http({
            url: '/api/login2/getlogin',
            method: 'get',
            params: obj//表单参数
        });
    },



}